package org.keyyond.ms.scheduler.dao;

import java.util.List;

import org.keyyond.ms.scheduler.mapper.JobAndTriggerMapper;
import org.keyyond.ms.scheduler.model.JobAndTrigger;
import org.keyyond.ms.scheduler.util.BaseDao;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;

@Component
public class JobAndTriggerDao extends BaseDao<JobAndTrigger> {

	/**
	 * 
	 */
	private static final long serialVersionUID = -4809149904652065322L;
	
	
	@Autowired
	private JobAndTriggerMapper jobAndTriggerMapper;
	
	public List<JobAndTrigger> getJobAndTriggerDetails()
	{
		return jobAndTriggerMapper.getJobAndTriggerDetails();
	}
}
